<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<div title="选择布控任务" id="controlTaskDialog">
	<div id="sltControlTask" style="width:100%;height:40px;">
		<label>布控任务名称</label>
		<input type="text" id="txtControlTaskName">
		<button style="float:right;margin-left:10px;"onclick="clearInput('sltControlTask');">重置</button>
		<button style="float:right;" onclick="findControlTaskListForSelect()">查询</button>
	</div>
	<table>
		<tr>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="leftControlTasks" style="min-width:240px;" cellspacing="0" cellpadding="0">
						<tbody>
							<tr>
								<td></td>
							</tr>
						</tbody>
					</table>
				</div>
			</td>
			<td style="width:80px;" align="center">
				<button style="width:60px;" onclick="moveFromObjToObj('leftControlTasks','rightControlTasks')">&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('leftControlTasks','rightControlTasks')">&gt;&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('rightControlTasks','leftControlTasks')">&lt;&lt;</button>
				<button style="width:60px;margin-top:10px;" onclick="moveFromObjToObj('rightControlTasks','leftControlTasks')">&lt;</button>
			</td>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="rightControlTasks" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<td>任务名称</td>
								<td>生效时间</td>
								<td>截止时间</td>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
<script>
	$("#sltControlTask button").button();
	setTableCSS("rightControlTasks");
</script>